package com.hhs.storage.service;

import com.hhs.storage.bean.InputParam;
import com.hhs.storage.bean.LeaderTask;
import com.hhs.storage.bean.Notepad;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hhs.storage.bean.SortBean;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hhs
 * @since 2023-06-13
 */
public interface NotepadService extends IService<Notepad> {

    Map<String, Object> getAll(Notepad notepad, InputParam inputParam);

    Map<String, Object> addOrUpdate(Notepad notepad,InputParam inputParam);

    Map<String, Object> dele(Integer id);

    Map<String, Object> deleAll(InputParam inputParam);

    Map<String, Object> complete(Integer id);

    //设置到期日期
    Map<String, Object> remind(Notepad notepad);

    Map<String, Object> remindMe();

    Map<String, Object> wkEdit(Notepad notepad);

    Map<String, Object> wkQuery(Notepad notepad);

    Map<String, Object> saveOther(Map<String,Object> leaderTask);

    Map<String, Object> getfullinfo(InputParam inputParam);

    Map<String, Object> getCalendarDatas(InputParam inputParam);

    Map<String, Object> updateSort(List<SortBean> sortList);

    Map<String, Object> stateChange(String id, Integer state);
}
